export default {
  state: {
    node: {
      type: '',
      data: {}
    },
    lession: {
      type: '',
      data: {}
    },
    alert: {
      type: ''
    }
  },
  mutations: {
    changeNode (context, payload) {
      context.node = payload
    },
    changeLession (context, val) {
      context.modifyLession = val
    },
    changeAlert (context, val) {
      context.alert = val
    }
  }
}
